package com.ep.thirdPlatformProject.system.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

@Data
@AllArgsConstructor
@TableName("emp_info")
public class EmpInfo {

    @JSONField(name = "id")
    @TableId("origin_id")
    private String originId;

    @TableField("marital_status")
    private String maritalStatus;

    @TableField("entry_date")
    private Date entryDate;

    @TableField("emp_no")
    @JSONField(serialize = false)
    private String empNo;

}
